package com.joy.mms.domain.bo;

import com.joy.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import com.joy.common.core.validate.AddGroup;
import com.joy.common.core.validate.EditGroup;

/**
 * 【请填写功能名称】业务对象 mms_maintenance_plan
 *
 * @author ruoyi
 * @date 2025-03-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MmsMaintenancePlanBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 维保方案编号
     */
    @NotBlank(message = "维保方案编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String planNo;

    /**
     * 维保方案编号
     */
    @NotBlank(message = "维保方案编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String planName;

    /**
     * 设备分类
     */
    @NotBlank(message = "设备分类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String machineCategoryId;

    /**
     * 状态(0待审核  1审核通过  2驳回)
     */
    @NotBlank(message = "状态(0待审核  1审核通过  2驳回)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
